<style include="settings-shared">
  :host {
    width: 100%;
  }

  :host([selected]) [focus-row-container],
  :host(:not([selected])) [focus-row-container]:hover {
    background-color: var(--cros-highlight-color);
  }

  :host-context([dir=rtl]) #actionTypeIcon {
    transform: scaleX(-1);  /* Invert X: flip on the Y axis (aka mirror). */
  }

  [focus-row-container] {
    width: inherit;
  }

  #searchResultContainer {
    align-items: center;
    display: flex;
    height: 40px;
    justify-content: center;
  }

  #resultText {
    flex-grow: 1;
    margin: var(--cr-toolbar-search-field-term-margin);
  }

  iron-icon {
    margin: var(--cr-toolbar-icon-margin);
    width: var(--cr-toolbar-icon-container-size);
  }

  /* Bolding occurs in the JS. */
  b {
    color: var(--cros-text-color-primary);
  }
</style>
<div focus-row-container>
  <!-- The focus-row-control is aria-disabled because the aria-label of
        this element (:host) will include instructions on how to navigate
        to a selection.-->
  <div focus-row-control
      focus-type="rowWrapper"
      id="searchResultContainer"
      on-click="onSearchResultSelected"
      on-keypress="onKeyPress_"
      aria-disabled="true"
      selectable>
    <iron-icon id="resultIcon" icon="[[getResultIcon_(searchResult)]]">
    </iron-icon>
    <div id="resultText" aria-hidden="true"
        inner-h-t-m-l="[[getResultInnerHtml_(searchResult)]]">
    </div>
    <iron-icon id="actionTypeIcon" icon="[[getActionTypeIcon_(searchResult)]]">
    </iron-icon>
  </div>
</div>
